package moodish.server.tests;

import moodish.comm.IServerSideMessage;

public class MsgMood implements IServerSideMessage{

	private String _nickname;
	private String _mood;
	
	public MsgMood(String nickname,String mood){
		_nickname=nickname;
		_mood=mood;
	}
	
	@Override
	public Type getType() {
		return IServerSideMessage.Type.MOODISH_MESSAGE;
	}

	@Override
	public String getPayload() {
		return _mood;
	}

	@Override
	public String getClientNickname() {
		return _nickname;
	}

}
